import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import mavonEditor from 'mavon-editor';
import 'mavon-editor/dist/css/index.css';
import VueCodemirror from 'vue-codemirror'
import 'codemirror/lib/codemirror.css'


import echarts from "echarts"


import 'xe-utils'
import VXETable from 'vxe-table'
import 'vxe-table/lib/style.css'
import vRegion from 'v-region';

import VueUUID from 'vue-uuid';
import $ from 'jquery';

//https://zhuanlan.zhihu.com/p/103907934
//vue3兼容ie11
import '@babel/polyfill'
import cssVars from 'css-vars-ponyfill'
cssVars({})
//此处注掉，改用全局封装的Axios 见reqGlobal.js
// import axios from 'axios';
//直接把axios挂载到vue构造函数的prototype属性上，组件中通过this.axios来拿到axios
// Vue.prototype.axios = axios;

Vue.config.productionTip = false
Vue.use(VueUUID);
Vue.use(mavonEditor);
Vue.use(VueCodemirror);
Vue.use(VXETable)
Vue.use(vRegion);


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
